example.service in /etc/system/systemsudo systemctl start examplesudo systemctl enable example[Unit]
Description=IPFS daemon
After=network.target
[Service]
User=ipfs
Group=ipfs
ExecStart=/usr/local/bin/ipfs daemon
Restart=on-failure
[Install]
WantedBy=default.target